Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / DelegateLoupeFilter Class / DelegateLoupeFilter Constructor / DelegateLoupeFilter Constructor(Action<IMessengerPacket>)
The action to apply to each packet

DelegateLoupeFilter Constructor(Action<IMessengerPacket>)
Create a new loupe filter for the specified action
Syntax
'Declaration
 
Public Function New( _
   ByVal action As Action(Of IMessengerPacket) _
)
 

Parameters

action
The action to apply to each packet
Remarks
The provided action can modify the packet but can't prevent the packet from being written; to have the option to cancel the packet specify a Func<IMessengerPacket, bool> instead.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also